import numpy as np

data = [[1,2,3],[4,5,6],[7,8,9]]
data_array = np.array(data)

print("转置前:")
print(data)

print("转置后:")
print(data_array)